package com.nanyang.tms.api.service.companyreceiver;

import com.nanyang.common.core.domain.ApiResult;
import com.nanyang.common.core.page.PageBean;
import com.nanyang.tms.api.dto.request.companyreceiver.CompanyReceiverAddRequest;
import com.nanyang.tms.api.dto.request.companyreceiver.CompanyReceiverDelRequest;
import com.nanyang.tms.api.dto.request.companyreceiver.CompanyReceiverQueryRequest;
import com.nanyang.tms.api.dto.request.companyreceiver.CompanyReceiverUpdateRequest;
import com.nanyang.tms.api.dto.response.companyreceiver.CompanyReceiverPageResponse;
import com.nanyang.tms.api.dto.response.companyreceiver.CompanyReceiverResponse;

public interface CompanyReceiverRpcService {
    /**
     *
     * <p>listCompanyReceiver</p>
     * <p>Description:(查询列表)</p>
     *
     * @param param
     * @return
     */
    ApiResult<PageBean<CompanyReceiverPageResponse>> listCompanyReceiver(CompanyReceiverQueryRequest param);
    /**
     *
     * <p>getCompanyReceiverById</p>
     * <p>Description:(根据code获取详情)</p>
     *
     * @param param
     * @return
     */
    ApiResult<CompanyReceiverResponse> selectByCode(CompanyReceiverQueryRequest param);

    /**
     *
     * <p>saveCompanyReceiver</p>
     * <p>Description:(保存)</p>
     *
     * @param param
     * @return
     */
    ApiResult<Boolean> saveCompanyReceiver(CompanyReceiverAddRequest param);

    /**
     *
     * <p>updateCompanyReceiver</p>
     * <p>Description:(修改)</p>
     *
     * @param param
     * @return
     */
    ApiResult<Boolean> updateCompanyReceiver(CompanyReceiverUpdateRequest param);

    /**
     *
     * <p>delCompanyReceiverById</p>
     * <p>Description:(根据code删除)</p>
     *
     * @param param
     * @return
     */
    ApiResult<Boolean> delCompanyReceiver(CompanyReceiverDelRequest param);
}
